package com.ruoyi.project.dict.phrases.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 常用词组对象 phrases
 * 
 * @author shixiangwen
 * @date 2020-09-08
 */
public class Phrases extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 字 */
    @Excel(name = "字")
    private String zi;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinyin;

    /** 词组 */
    @Excel(name = "词组")
    private String cizu;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZi(String zi) 
    {
        this.zi = zi;
    }

    public String getZi() 
    {
        return zi;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }
    public void setCizu(String cizu) 
    {
        this.cizu = cizu;
    }

    public String getCizu() 
    {
        return cizu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zi", getZi())
            .append("pinyin", getPinyin())
            .append("cizu", getCizu())
            .toString();
    }
}
